//
//  MainWindowController.m
//  MacWeb
//
//  Created by hebidu on 16/3/14.
//  Copyright © 2016年 Boye. All rights reserved.
//

#import "MainWindowController.h"
#import "HHLoginViewController.h"
@interface MainWindowController()<NSApplicationDelegate>
@end
@implementation MainWindowController
- (void)windowDidLoad{
    [super windowDidLoad];
    HHLoginViewController *mainVC = (HHLoginViewController *)self.contentViewController;
    mainVC.mainWindow = self;
    float width = [NSScreen mainScreen].frame.size.width;
    float height =[NSScreen mainScreen].frame.size.height;
    [self.window setContentSize:NSMakeSize(width, height)];
    [NSApplication sharedApplication].delegate = self;
    ////    [[NSApp mainWindow] toggleFullScreen:self];

}
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender{
    return YES;
}


@end
